<?php

class RouteConfig
{
    public static $Path = array(
        'login'         => 'user/login/index',
        'register'      => 'user/register/index',
        'logout'        => 'user/logout/index',

        
        //======话题前台
        'topicList' => 'discuss/index/index',
        'addTopic' => 'discuss/index/addTopic',
        'topicDetail_(\d+)' => 'discuss/index/topicDetail/id/$1', //话题详情
        'addReplay' => 'discuss/index/addReview', //前台添加回复, 先到审核表中
        'allReplayList_(\d+)' => 'discuss/index/getAllReplay/rootId/$1', //获取话题的所有回复
        
        //话题后台
        'admin_topic_list' => 'discuss/admin/topicReviewList', //话题待审核列表
        'admin_replay_list' => 'discuss/admin/replayReviewList', //回复待审核列表
    );
}